def Tk(
        title               :           str              = None,
        width               :           int              = 333,
        height              :           int              = 333,
        resizable           :           bool             = False,
        center              :           bool             = True,
):
    import tkinter as tk
    root = tk.Tk()

    # 标题
    if title is not None: root.title(title)

    # 不可变
    if not resizable:
        # 宽高都禁用时，最大化按钮会无法使用。
        root.resizable(
            width  = False, # 禁止调整宽度
            height = False, # 禁止调整高度
        )

    root.geometry("800x600")

    # 宽&高
    if width is None: width = 333
    if height is None: height = 333

    left_offset = 8
    left = int((root.winfo_screenwidth() - width) / 2) - left_offset

    top_offset = 16
    top = int((root.winfo_screenheight() - height) / 2) - top_offset

    # 居中
    if center:
        root.geometry(f'{width}x{height}+{left}+{top}')
    else:
        root.geometry(f'{width}x{height}')

    return root
